.ub { 
    display: -webkit-box !important;
    display: box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    position: relative;
}

.ub-wr {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ub-rev {
    -webkit-box-direction: reverse;
    box-direction: reverse;
    -ms-flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
}

.ub-fh {
    width: 100%;
}

.ub-fv {
    height: 100%;
}

.ub-con {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ub-ac {
    -webkit-box-align: center;
    box-align: center; 
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.ub-ae {
    -webkit-box-align: end;
    box-align: end;  
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.ub-as {
    align-items: stretch;
}

.ub-ass {
    align-self: stretch;
}

.ub-pc {
    -webkit-box-pack: center;
    box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.ub-pa {
    
    -ms-flex-pack: distribute;
    -webkit-box-pack: justify;
    box-pack: justify; 
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.ub-pb {
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.ub-pe {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.ub-pj {
    -ms-flex-pack: distribute;
    -webkit-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.ub-ver {
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

$flex-list: 1,2,3,4;
@each $item in $flex-list {
    .ub-f#{$item} {
        position: relative;
        -webkit-box-flex: #{$item};
        box-flex: #{$item};
        -ms-flex: #{$item};
        -webkit-flex:#{$item};
        flex:#{$item};
    }
}
